home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 90 / CD Actual 90.iso / Software3D / VirtualLight / VLight1.3win32.exe / Examples / Level1 / NURBS.vib < prev    next >
Encoding:
Text File  |  2002-10-07  |  933 b   |  28 lines

  1. // VirtuaLight VIB-Structure
  2.  
  3. ReadArchive "defshaders.vs"
  4.  
  5. Camera [ (2,3.5,-7),(0,1,0),(0,1,0) FieldOfView 40 Format(320, 240) FrameAspectRatio 4/3 ]
  6.  
  7. Background '.098039, .098039, .392157'*0.9
  8.  
  9. PointLight [ (-50,50, -50) Intensity i ]
  10. PointLight [ (55,40, -40) Intensity i ]
  11. PointLight [ (-20,40, 55) Intensity i/4 LightingAttributes SPECULAR ]
  12.  
  13. Shape [
  14.  NURBS (6, 4, [0, 0, 0, 0, 1.5, 1.5, 3, 3, 3, 3],
  15.         5, 4, [0, 0, 0, 0, 1, 2, 2, 2, 2],
  16.         [ [ (0,0,0), (1,0,3), (2,0,-3), (3,0,3), (4,0,0)   ],
  17.           [ (0,1,0), (1,1,0), (2,1,0), (3,1,0), (4,1,0)    ],
  18.           [ (0,2,0), (1,2,0), (2,2,5,2), (3,2,0), (4,2,0)  ],
  19.           [ (0,3,0), (1,3,0), (2,3,5,0.5), (3,3,0), (4,3,0)],
  20.           [ (0,4,0), (1,4,0), (2,4,0), (3,4,0), (4,4,0)    ],
  21.           [ (0,5,0), (1,5,-3), (2,5,3), (3,5,-3), (4,5,0)  ] ]
  22.  )
  23.  primitive
  24.  Translate(-2, -2, 1)
  25. ]
  26.  
  27. Shape [ Disk((0,-2,0), (0,1,0), 500) ground ]
  28.